def inbound_mon_1():
  """Inbound call to DN2, abnormal release Ext1DN1"""
  Ext1DN1.MakeCall(DN2)
  Ext1DN1.ReleaseCall()

def inbound_mon_2():
  """Inbound call to DN2,  release DN2"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.ReleaseCall()

def inbound_mon_3():
  """Inbound call to DN2,  release Ext1DN1"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  Ext1DN1.ReleaseCall()

def inbound_mon_6():
  """Inbound to  DN2, two step transfer to DN3, release DN3"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateTransfer(DN3)
  DN3.AnswerCall()
  DN2.CompleteTransfer()
  DN3.ReleaseCall()
  
def inbound_mon_7():
  """Inbound to  DN2, DN2 init transfer to DN3, release DN1, release DN2"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateTransfer(DN3)
  Ext1DN1.ReleaseCall()
  DN2.ReleaseCall()
  
def inbound_mon_8():
  """Inbound to  DN2, DN2 init transfer to DN3, release DN1, DN3 answer, release DN3"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateTransfer(DN3)
  Ext1DN1.ReleaseCall()
  DN3.AnswerCall()
  DN3.ReleaseCall()  
  
def inbound_mon_9():
  """Inbound to  DN2, DN1 init transfer to DN3, release DN2, DN3 answer, release DN3"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  Ext1DN1.InitiateTransfer(DN3)
  DN2.ReleaseCall()
  DN3.AnswerCall()
  DN3.ReleaseCall()   

  
def inbound_mon_12():
  """Inbound call to  DN2, two step transfer to DN3, release DN3"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateTransfer(DN3)
  DN3.AnswerCall()
  DN2.CompleteTransfer()
  DN3.ReleaseCall()

def inbound_mon_13():
  """Inbound call to  DN2, two step transfer to DN3, abnormal release Ext1DN1"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateTransfer(DN3)
  DN2.ReleaseCall()
  Ext1DN1.ReleaseCall()

def inbound_mon_14():
  """Inbound call to DN2, two step transfer to DN3, completed before consulted party answer"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateTransfer(DN3)
  DN2.CompleteTransfer()
  DN3.AnswerCall()
  Ext1DN1.ReleaseCall()

def inbound_mon_15():
  """Inbound call, two step transfer to DN3, completed before consulted party answer, abnor"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateTransfer(DN3)
  DN2.CompleteTransfer()
  Ext1DN1.ReleaseCall()

def inbound_mon_21():
  """Inbound call to DN2, inbound conference to DN3, release Ext1DN1, DN2"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateConference(DN3)
  DN3.AnswerCall()
  DN2.CompleteConference()
  Ext1DN1.ReleaseCall()
  DN2.ReleaseCall()

def inbound_mon_22():
  """Inbound call to DN2, DN2 cinit conference to DN3, abnorl release DN2, release Ext1DN1"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateConference(DN3)
  DN2.ReleaseCall()
  Ext1DN1.ReleaseCall()



def inbound_mon_26():
  """Inbound call to DN2, DN2 conference to DN3, completed before consulted party answer"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateConference(DN3)
  DN2.CompleteConference()
  DN3.AnswerCall()
  Ext1DN1.ReleaseCall()
  DN2.ReleaseCall()

def inbound_mon_27():
  """Inbound call to DN2, DN2 conf to DN3, compl before cons. party answer, abnor. release DN2"""
  Ext1DN1.MakeCall(DN2)
  DN2.AnswerCall()
  DN2.InitiateConference(DN3)
  DN2.CompleteConference()
  DN2.ReleaseCall()
  DN3.AnswerCall()
  Ext1DN1.ReleaseCall()

